UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All interactive user home directories must be group-owned by the home directory owners primary group.


Overview

Finding ID Version Rule ID IA Controls Severity
V-903 GEN001520 SV-63825r1_rule ECLP-1 Medium
Description
If the Group Identifier (GID) of the home directory is not the same as the GID of the user, this would allow unauthorized access to files.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-06-05

Details

Check Text ( C-52361r1_chk )
Check the group ownership for each user in the /etc/passwd file.

Procedure:
# cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld

If any user home directory is not group-owned by the assigned user's primary group, this is a finding. Home directories for application accounts requiring different group ownership must be documented using site-defined procedures.
Fix Text (F-54399r2_fix)
Change the group-owner for user home directories to the primary group of the assigned user.

Procedure:
Find the primary group of the user (GID) which is the fourth field of the user entry in /etc/passwd.

# chgrp

Document all changes.